﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="OrientadoresCadastrados.aspx.cs" Inherits="RepositorioDeMonografia.OrientadoresCadastrados" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <fieldset class="CadastraCurso">
        <legend>&nbsp;Orientadores Cadastrados</legend>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                AllowSorting="True" AutoGenerateColumns="False" CellPadding="3" 
        DataSourceID="SqlDataSourceOrientadoresCadastrados" ForeColor="#333333" 
                GridLines="None" CellSpacing="3">
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                <Columns>
                    <asp:BoundField DataField="Nome" HeaderText="Nome" SortExpression="Nome" />
                    <asp:BoundField DataField="Telefone" HeaderText="Telefone" 
                        SortExpression="Telefone" />
                    <asp:BoundField DataField="Celular" HeaderText="Celular" 
                        SortExpression="Celular" />
                    <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                    <asp:BoundField DataField="Endereco" HeaderText="Endereco" 
                        SortExpression="Endereco" />
                </Columns>
                
            </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSourceOrientadoresCadastrados" runat="server" 
        ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
        SelectCommand="SELECT Nome, Telefone, Celular, Email, Endereco FROM Orientador">
    </asp:SqlDataSource>
    </fieldset>
</asp:Content>
